package cn.destiny.infrastructure.persistent.dao;

import cn.destiny.infrastructure.persistent.po.Award;
import cn.destiny.infrastructure.persistent.po.StrategyRule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 策略规则 DAO
 */
@Mapper
public interface IStrategyRuleDao {

    List<StrategyRule> queryStrategyRuleList();

    /**
     * 查询策略规则实体
     * @param strategyRuleReq 策略规则
     */
    StrategyRule queryStrategyRule(StrategyRule strategyRuleReq);

    /**
     * 查询规则值配置
     * @param strategyRule 策略规则
     */
    String queryStrategyRuleValue(StrategyRule strategyRule);
}
